package com.freeheart.filterorder;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启过滤器执行顺序开关
 * @description
 *        在Bean上装载，即可让@WebFilter + @ServletComponentScan 和@Order或者Ordered接口搭配，从而控制执行顺序
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(FilterOrderConfig.class)
public @interface EnableFilterOrder {
}
